package com.czy.daishusys.entity;


public class GoodsDetailModel {

    /**
     * flag : true
     * data : {"goodsId":504,"goodsBrandId":130,"goodsBriefCode":"","description":"","totalCount":176,"delFlag":"false","categoryName":"烦烦烦","remainingCount":172,"needService":"true","carAccId":49,"onTime":0,"modifyTime":1495245836183,"price":1,"recommendValue":0,"unitId":1,"belongsType":"store","belongsTypeId":"446","goodsName":"轻薄、漂亮、好用的红米3 如此不可思议","chName":"酷霸","goodsDetails":"敖德萨打算打算打","costPrice":0,"fromGoodsId":344,"sort":1,"storeId":446,"createTime":1495165018824,"servicePrice":22.15,"templateName":"moban1","purchaseOrderId":0,"goodsCode":"SP1494245491818","offTime":0,"goodsLogo":"http://o6w2souoh.bkt.clouddn.com/defaultUserGroup.png","goodsViewUrl":"/pub/goodsView?goodsId=504&viewType=storeTrans","categoryId":397,"status":"off","logisticsTemplateId":193}
     * errorCode : 0
     * serverTime : 1497495703874
     * exp :
     */

    private String flag;
    private DataBean data;
    private int errorCode;
    private long serverTime;
    private String exp;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public long getServerTime() {
        return serverTime;
    }

    public void setServerTime(long serverTime) {
        this.serverTime = serverTime;
    }

    public String getExp() {
        return exp;
    }

    public void setExp(String exp) {
        this.exp = exp;
    }

    public static class DataBean {
        /**
         * goodsId : 504
         * goodsBrandId : 130
         * goodsBriefCode :
         * description :
         * totalCount : 176
         * delFlag : false
         * categoryName : 烦烦烦
         * remainingCount : 172
         * needService : true
         * carAccId : 49
         * onTime : 0
         * modifyTime : 1495245836183
         * price : 1.0
         * recommendValue : 0
         * unitId : 1
         * belongsType : store
         * belongsTypeId : 446
         * goodsName : 轻薄、漂亮、好用的红米3 如此不可思议
         * chName : 酷霸
         * goodsDetails : 敖德萨打算打算打
         * costPrice : 0.0
         * fromGoodsId : 344
         * sort : 1
         * storeId : 446
         * createTime : 1495165018824
         * servicePrice : 22.15
         * templateName : moban1
         * purchaseOrderId : 0
         * goodsCode : SP1494245491818
         * offTime : 0
         * goodsLogo : http://o6w2souoh.bkt.clouddn.com/defaultUserGroup.png
         * goodsViewUrl : /pub/goodsView?goodsId=504&viewType=storeTrans
         * categoryId : 397
         * status : off
         * logisticsTemplateId : 193
         */

        private int goodsId;
        private int goodsBrandId;
        private String goodsBriefCode;
        private String description;
        private int totalCount;
        private String delFlag;
        private String categoryName;
        private int remainingCount;
        private String needService;
        private int carAccId;
        private long onTime;
        private long modifyTime;
        private double price;
        private double recommendValue;
        private int unitId;
        private String belongsType;
        private String belongsTypeId;
        private String goodsName;
        private String chName;
        private String goodsDetails;
        private double costPrice;
        private int fromGoodsId;
        private int sort;
        private int storeId;
        private long createTime;
        private double servicePrice;
        private String templateName;
        private int purchaseOrderId;
        private String goodsCode;
        private long offTime;
        private String goodsLogo;
        private String goodsViewUrl;
        private int categoryId;
        private String status;
        private int logisticsTemplateId;

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public int getGoodsBrandId() {
            return goodsBrandId;
        }

        public void setGoodsBrandId(int goodsBrandId) {
            this.goodsBrandId = goodsBrandId;
        }

        public String getGoodsBriefCode() {
            return goodsBriefCode;
        }

        public void setGoodsBriefCode(String goodsBriefCode) {
            this.goodsBriefCode = goodsBriefCode;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public String getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(String delFlag) {
            this.delFlag = delFlag;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public int getRemainingCount() {
            return remainingCount;
        }

        public void setRemainingCount(int remainingCount) {
            this.remainingCount = remainingCount;
        }

        public String getNeedService() {
            return needService;
        }

        public void setNeedService(String needService) {
            this.needService = needService;
        }

        public int getCarAccId() {
            return carAccId;
        }

        public void setCarAccId(int carAccId) {
            this.carAccId = carAccId;
        }

        public long getOnTime() {
            return onTime;
        }

        public void setOnTime(long onTime) {
            this.onTime = onTime;
        }

        public long getModifyTime() {
            return modifyTime;
        }

        public void setModifyTime(long modifyTime) {
            this.modifyTime = modifyTime;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getRecommendValue() {
            return recommendValue;
        }

        public void setRecommendValue(double recommendValue) {
            this.recommendValue = recommendValue;
        }

        public int getUnitId() {
            return unitId;
        }

        public void setUnitId(int unitId) {
            this.unitId = unitId;
        }

        public String getBelongsType() {
            return belongsType;
        }

        public void setBelongsType(String belongsType) {
            this.belongsType = belongsType;
        }

        public String getBelongsTypeId() {
            return belongsTypeId;
        }

        public void setBelongsTypeId(String belongsTypeId) {
            this.belongsTypeId = belongsTypeId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getChName() {
            return chName;
        }

        public void setChName(String chName) {
            this.chName = chName;
        }

        public String getGoodsDetails() {
            return goodsDetails;
        }

        public void setGoodsDetails(String goodsDetails) {
            this.goodsDetails = goodsDetails;
        }

        public double getCostPrice() {
            return costPrice;
        }

        public void setCostPrice(double costPrice) {
            this.costPrice = costPrice;
        }

        public int getFromGoodsId() {
            return fromGoodsId;
        }

        public void setFromGoodsId(int fromGoodsId) {
            this.fromGoodsId = fromGoodsId;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public double getServicePrice() {
            return servicePrice;
        }

        public void setServicePrice(double servicePrice) {
            this.servicePrice = servicePrice;
        }

        public String getTemplateName() {
            return templateName;
        }

        public void setTemplateName(String templateName) {
            this.templateName = templateName;
        }

        public int getPurchaseOrderId() {
            return purchaseOrderId;
        }

        public void setPurchaseOrderId(int purchaseOrderId) {
            this.purchaseOrderId = purchaseOrderId;
        }

        public String getGoodsCode() {
            return goodsCode;
        }

        public void setGoodsCode(String goodsCode) {
            this.goodsCode = goodsCode;
        }

        public long getOffTime() {
            return offTime;
        }

        public void setOffTime(long offTime) {
            this.offTime = offTime;
        }

        public String getGoodsLogo() {
            return goodsLogo;
        }

        public void setGoodsLogo(String goodsLogo) {
            this.goodsLogo = goodsLogo;
        }

        public String getGoodsViewUrl() {
            return goodsViewUrl;
        }

        public void setGoodsViewUrl(String goodsViewUrl) {
            this.goodsViewUrl = goodsViewUrl;
        }

        public int getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public int getLogisticsTemplateId() {
            return logisticsTemplateId;
        }

        public void setLogisticsTemplateId(int logisticsTemplateId) {
            this.logisticsTemplateId = logisticsTemplateId;
        }
    }
}
